11 research outputs found

    Mutable Class Design Pattern

    Get PDF
    The dissertation proposes, presents and analyzes a new design pattern, the Mutable Class pattern, to support the processing of large-scale heterogeneous data models with multiple families of algorithms. Handling data-algorithm associations represents an important topic across a variety of application domains. As a result, it has been addressed by multiple approaches, including the Visitor pattern and the aspect-oriented programming (AOP) paradigm. Existing solutions, however, bring additional constraints and issues. For example, the Visitor pattern freezes the class hierarchies of application models and the AOP-based projects, such as Spring AOP, introduce significant overhead for processing large-scale models with fine-grain objects. The Mutable Class pattern addresses the limitations of these solutions by providing an alternative approach designed after the Class model of the UML specification. Technically, it extends a data model class with a class mutator supporting the interchangeability of operations. Design patterns represent reusable solutions to recurring problems. According to the design pattern methodology, the definition of these solutions encompasses multiple topics, such as the problem and applicability, structure, collaborations among participants, consequences, implementation aspects, and relation with other patterns. The dissertation provides a formal description of the Mutable Class pattern for processing heterogeneous tree-based models and elaborates on it with a comprehensive analysis in the context of several applications and alternative solutions. Particularly, the commonality of the problem and reusability of this approach is demonstrated and evaluated within two application domains: computational accelerator physics and compiler construction. Furthermore, as a core part of the Unified Accelerator Library (UAL) framework, the scalability boundary of the pattern has been challenged and explored with different categories of application architectures and computational infrastructures including distributed three-tier systems. The Mutable Class pattern targets a common problem arising from software engineering: the evolution of type systems and associated algorithms. Future research includes applying this design pattern in other contexts, such as heterogeneous information networks and large-scale processing platforms, and examining variations and alternative design patterns for solving related classes of problems

    Building Near-Real-Time Processing Pipelines with the Spark-MPI Platform

    Full text link
    Advances in detectors and computational technologies provide new opportunities for applied research and the fundamental sciences. Concurrently, dramatic increases in the three Vs (Volume, Velocity, and Variety) of experimental data and the scale of computational tasks produced the demand for new real-time processing systems at experimental facilities. Recently, this demand was addressed by the Spark-MPI approach connecting the Spark data-intensive platform with the MPI high-performance framework. In contrast with existing data management and analytics systems, Spark introduced a new middleware based on resilient distributed datasets (RDDs), which decoupled various data sources from high-level processing algorithms. The RDD middleware significantly advanced the scope of data-intensive applications, spreading from SQL queries to machine learning to graph processing. Spark-MPI further extended the Spark ecosystem with the MPI applications using the Process Management Interface. The paper explores this integrated platform within the context of online ptychographic and tomographic reconstruction pipelines.Comment: New York Scientific Data Summit, August 6-9, 201

    CBN 98-9 Integration of Unified Accelerator Libraries with CESR.

    No full text
    Introduction The performance of an accelerator depends to a large extent on the quality of the theoretical algorithms and the level of their integration with the control software. Modern accelerator facilities are complex industrial-scale systems that are characterized by tightly bound, diverse scientific and technical problems. New severe requirements for accelerator parameters result in the strong specialization of scientists on particular physical effects, algorithms, or technologies. On the other side, the accelerator overall performance is determined by a variety of combined heterogeneous effects and requires steering theoretical and experimental activities of several laboratories in a common direction. There is a present need for a software environment that will facilitate reuse and integration of diverse accelerator algorithms, provide compatible and independent implementation of critical applications, and promote standardization of the best accelerator solutions and ap

    Emittance growth due to static and radiative space charge forces in an electron bunch compressor

    No full text
    Evolution of short intense electron bunches passing through bunch-compressing beam lines is studied using the UAL (Unified Accelerator Libraries) string space charge formulation [R. Talman, Phys. Rev. ST Accel. Beams 7, 100701 (2004); N. Malitsky and R. Talman, in Proceedings of the 9th European Particle Accelerator Conference, Lucerne, 2004 (EPS-AG, Lucerne, 2004); R. Talman, Accelerator X-Ray Sources (Wiley-VCH, Weinheim, 2006), Chap. 13]. Three major configurations are studied, with the first most important and studied in greatest detail (because actual experimental results are available and the same results have been simulated with other codes): (i) Experimental bunch compression results were obtained at CTF-II, the CERN test facility for the “Compact Linear Collider” using electrons of about 40 MeV. Previous simulations of these results have been performed (using trafic4* [A. Kabel et al., Nucl. Instrum. Methods Phys. Res., Sect. A 455, 185 (2000)] and elegant [M. Borland, Argonne National Laboratory Report No. LS-287, 2000]). All three simulations are in fair agreement with the data except that the UAL simulation predicts a substantial dependence of horizontal emittance ϵx on beam width (as controlled by the lattice βx function) at the compressor location. This is consistent with the experimental observations, but inconsistent with other simulations. Excellent agreement concerning dependence of bunch energy loss on bunch length and magnetic field strength [L. Groening et al., in Proceedings of the Particle Accelerator Conference, Chicago, IL, 2001 (IEEE, New York, 2001), http://groening.home.cern/groening/csr_00.htm] confirms our understanding of the role played by coherent synchrotron radiation (CSR). (ii) A controlled comparison is made between the predictions of the UAL code and those of csrtrack [M. Dohlus and T. Limberg, in Proceedings of the 2004 FEL Conference, pp. 18–21, M
    corecore